import Vue from 'vue'
import Vuex from 'vuex'
import state from './state'
import actions from './actions'
import mutations from './mutations'
import user from './module/user'
import getters from './getters'
/* eslint-disable */
Vue.use(Vuex)

import config from '@/apiconfig';
const { homeName } = config;

export default new Vuex.Store({
	state,
	mutations,
	actions,
	getters,
	modules: {
		user
	}
})